const routers = [
    {
        path: '/',
        meta: {
            title: ''
        },
        component: (resolve) => require(['./views/index.vue'], resolve),
        children:[
            {
                path: '/tasks',
                meta: {
                    title: '任务管理'
                },
                component: (resolve) => require(['./views/task/tasks.vue'], resolve)
            },
            {
                path: '/task-edit',
                meta: {
                    title: '任务管理'
                },
                component: (resolve) => require(['./views/task/task_edit.vue'], resolve)
            },
            {
                path: '/tasks2',
                meta: {
                    title: '任务管理'
                },
                component: (resolve) => require(['./views/tasks2.vue'], resolve)
            }
        ]
    },

];
export default routers;